﻿// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

#if DATABASE

using System.IO.Pipelines;
using System.Threading.Tasks;

namespace PlatformBenchmarks;

public partial class BenchmarkApplication
{
    private async Task Caching(PipeWriter pipeWriter, int count)
    {
        OutputMultipleQueries(pipeWriter, await Db.LoadCachedQueries(count), SerializerContext.CachedWorldArray);
    }
}

#endif